import Vue from 'vue';
import VueRouter from 'vue-router';
import HomeView from '../views/HomeView.vue';
import LianXiView from '../views/LianXiView.vue';

Vue.use(VueRouter);

const routes = [
  {
    path: '/home',
    name: 'Home',
    component: HomeView
  },
  {
    path: '/lianxi',
    name: 'LianXi',
    component: LianXiView
  }
];

const router = new VueRouter({
  routes
});

export default router;